Download OpenAPI specification:Download
A REST interface for state queries, legacy transactions
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Since: cosmos-sdk 0.43
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.46.2
|
id
required
|
string
<int64>
Deprecated, use account_id instead id is the account number of the address to be queried. This field should have been an uint64 (like all account numbers), and will be updated to uint64 in a future version of the auth query. |
| account_id |
string
<uint64>
account_id is the account number of the address to be queried. Since: cosmos-sdk 0.47 |
| granter |
string
|
| grantee |
string
|
| msg_type_url |
string
Optional, msg_type_url, when set, will query only grants matching given msg type. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.46
|
grantee
required
|
string
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.46
|
granter
required
|
string
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
address
required
|
string
address is the address to query balances for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| resolve_denom |
boolean
resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. Since: cosmos-sdk 0.50 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Since: cosmos-sdk 0.46
|
denom
required
|
string
denom defines the coin denomination to query all account holders for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.50.3
| denom |
string
denom defines the coin denomination to query all account holders for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
This query only returns denominations that have specific SendEnabled settings. Any denomination that does not have a specific setting will use the default params.default_send_enabled, and will not be returned by this query.
Since: cosmos-sdk 0.47
| denoms |
Array of strings
denoms is the specific denoms you want look up. Leave empty to get all entries. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Since: cosmos-sdk 0.46
|
address
required
|
string
address is the address to query spendable balances for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Since: cosmos-sdk 0.47
|
address
required
|
string
address is the address to query balances for. |
| denom |
string
denom is the coin denom to query balances for. |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
validator_address
required
|
string
validator_address defines the validator address to query for. |
| starting_height |
string
<uint64>
starting_height defines the optional starting height to query the slashes. |
| ending_height |
string
<uint64>
starting_height defines the optional ending height to query the slashes. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
hash
required
|
string
hash defines the evidence hash of the requested evidence. Since: cosmos-sdk 0.47 |
| evidence_hash |
string
<byte>
evidence_hash defines the hash of the requested evidence. Deprecated: Use hash, a HEX encoded string, instead. |
|
grantee
required
|
string
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.46
|
granter
required
|
string
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| proposal_status |
string
Default:
"PROPOSAL_STATUS_UNSPECIFIED"
Enum:
"PROPOSAL_STATUS_UNSPECIFIED"
"PROPOSAL_STATUS_DEPOSIT_PERIOD"
"PROPOSAL_STATUS_VOTING_PERIOD"
"PROPOSAL_STATUS_PASSED"
"PROPOSAL_STATUS_REJECTED"
"PROPOSAL_STATUS_FAILED"
proposal_status defines the status of the proposals.
|
| voter |
string
voter defines the voter address for the proposals. |
| depositor |
string
depositor defines the deposit addresses from the proposals. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
proposal_id
required
|
string
<uint64>
proposal_id defines the unique id of the proposal. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
proposal_id
required
|
string
<uint64>
proposal_id defines the unique id of the proposal. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| src_validator_addr |
string
src_validator_addr defines the validator address to redelegate from. |
| dst_validator_addr |
string
dst_validator_addr defines the validator address to redelegate to. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
| status |
string
status enables to query for validators matching a given status. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
validator_addr
required
|
string
validator_addr defines the validator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
|
validator_addr
required
|
string
validator_addr defines the validator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
last_height
required
|
string
<int64>
last height of the current chain must be sent in request as this is the height under which next consensus state is stored |
|
channel_id
required
|
string
|
|
port_id
required
|
string
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| query_height |
string
<uint64>
Height to query at. |
|
packet_id.channel_id
required
|
string
channel unique identifier |
|
packet_id.port_id
required
|
string
channel port identifier |
|
packet_id.sequence
required
|
string
<uint64>
packet sequence |
| query_height |
string
<uint64>
block height at which to query. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| query_height |
string
<uint64>
block height at which to query. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| query_height |
string
<uint64>
block height at which to query. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
revision_number
required
|
string
<uint64>
revision number of the consensus state |
|
revision_height
required
|
string
<uint64>
revision height of the consensus state |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| packet_commitment_sequences |
Array of strings
<uint64>
list of packet sequences. |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
packet_ack_sequences
required
|
Array of strings
<uint64>
non-empty
list of acknowledgement sequences |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
packet_commitment_sequences
required
|
Array of strings
<uint64>
non-empty
list of packet sequences |
|
connection
required
|
string
connection unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
client_id
required
|
string
client identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
client_id
required
|
string
client identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
client_id
required
|
string
client identifier |
|
revision_number
required
|
string
<uint64>
consensus state revision number |
|
revision_height
required
|
string
<uint64>
consensus state revision height |
| latest_height |
boolean
latest_height overrides the height field and queries the latest stored ConsensusState. |
| client_id |
string
client unique identifier. |
| proof |
string
<byte>
the proof to be verified by the client. |
|
object
(Height is a monotonically increasing data
type that can be compared against another Height
for the purposes of updating and freezing clients)
Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height. |
|
| value |
string
<byte>
the value which is proven. |
| time_delay |
string
<uint64>
(optional time delay)
|
| block_delay |
string
<uint64>
(optional block delay)
|
|
object
(MerklePath is the path used to verify
commitment proofs, which can be an arbitrary
structured object (defined by a commitment type).
MerklePath is represented from root-to-leaf)
the commitment key path. |
{
-
"client_id":
"string",
-
"proof":
"string",
-
"proof_height":
{
-
"revision_number":
"string",
-
"revision_height":
"string"
},
-
"value":
"string",
-
"time_delay":
"string",
-
"block_delay":
"string",
-
"merkle_path":
{
-
"key_path":
[
-
"string"
]
}
}
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.46
| data |
string
<byte>
|
| path |
string
|
| height |
string
<int64>
|
| prove |
boolean
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
|
height
required
|
string
<int64>
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
Since: cosmos-sdk 0.47
|
object
(cosmos.tx.v1beta1.Tx)
Tx is the standard type used for broadcasting transactions. |
{
-
"tx":
{
-
"body":
{
-
"messages":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
],
-
"memo":
"string",
-
"timeout_height":
"string",
-
"extension_options":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
],
-
"non_critical_extension_options":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
]
},
-
"auth_info":
{
-
"signer_infos":
[
-
{
-
"public_key":
{
-
"type_url":
"string",
-
"value":
"string"
},
-
"mode_info":
{
-
"single":
{
-
"mode":
"SIGN_MODE_UNSPECIFIED"
},
-
"multi":
{
-
"bitarray":
{
-
"extra_bits_stored":
0,
-
"elems":
"string"
},
-
"mode_infos":
[
-
{
}
]
}
},
-
"sequence":
"string"
}
],
-
"fee":
{
-
"amount":
[
-
{
-
"denom":
"string",
-
"amount":
"string"
}
],
-
"gas_limit":
"string",
-
"payer":
"string",
-
"granter":
"string"
},
-
"tip":
{
-
"amount":
[
-
{
-
"denom":
"string",
-
"amount":
"string"
}
],
-
"tipper":
"string"
}
},
-
"signatures":
[
-
"string"
]
}
}
|
object
(cosmos.tx.v1beta1.Tx)
Tx is the standard type used for broadcasting transactions. |
|
| tx_bytes |
string
<byte>
tx_bytes is the raw transaction. Since: cosmos-sdk 0.43 |
{
-
"tx":
{
-
"body":
{
-
"messages":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
],
-
"memo":
"string",
-
"timeout_height":
"string",
-
"extension_options":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
],
-
"non_critical_extension_options":
[
-
{
-
"type_url":
"string",
-
"value":
"string"
}
]
},
-
"auth_info":
{
-
"signer_infos":
[
-
{
-
"public_key":
{
-
"type_url":
"string",
-
"value":
"string"
},
-
"mode_info":
{
-
"single":
{
-
"mode":
"SIGN_MODE_UNSPECIFIED"
},
-
"multi":
{
-
"bitarray":
{
-
"extra_bits_stored":
0,
-
"elems":
"string"
},
-
"mode_infos":
[
-
{
}
]
}
},
-
"sequence":
"string"
}
],
-
"fee":
{
-
"amount":
[
-
{
-
"denom":
"string",
-
"amount":
"string"
}
],
-
"gas_limit":
"string",
-
"payer":
"string",
-
"granter":
"string"
},
-
"tip":
{
-
"amount":
[
-
{
-
"denom":
"string",
-
"amount":
"string"
}
],
-
"tipper":
"string"
}
},
-
"signatures":
[
-
"string"
]
},
-
"tx_bytes":
"string"
}
| events |
Array of strings
events is the list of transaction event type. Deprecated post v0.47.x: use query instead, which should contain a valid events query. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |
| order_by |
string
Default:
"ORDER_BY_UNSPECIFIED"
Enum:
"ORDER_BY_UNSPECIFIED"
"ORDER_BY_ASC"
"ORDER_BY_DESC"
|
| page |
string
<uint64>
page is the page number to query, starts at 1. If not provided, will default to first page. |
| limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| query |
string
query defines the transaction event query that is proxied to Tendermint's TxSearch RPC method. The query must be valid. Since cosmos-sdk 0.50 |
| tx_bytes |
string
<byte>
tx_bytes is the raw transaction. |
| mode |
string
Default:
"BROADCAST_MODE_UNSPECIFIED"
Enum:
"BROADCAST_MODE_UNSPECIFIED"
"BROADCAST_MODE_BLOCK"
"BROADCAST_MODE_SYNC"
"BROADCAST_MODE_ASYNC"
BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
|
{
-
"tx_bytes":
"string",
-
"mode":
"BROADCAST_MODE_UNSPECIFIED"
}
Since: cosmos-sdk 0.45.2
|
height
required
|
string
<int64>
height is the height of the block to query. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.reverse |
boolean
reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 |